package com.advertise.service;

import java.util.List;

import com.advertise.model.LoginState;
import com.advertise.model.TreeNode;
import com.advertise.model.User;

public interface UserService_IFace extends BaseService_IFace<User, Integer> {
	public List<TreeNode> getUserMenus(String loginId);	//get the tree list from the menu table according the user's rights
	
	public LoginState validateLogin(String loginName,String password); 	//return the user status; 0 stand for no this user; 
																	//						  1 stand for password not correct
																	//						  2 stand for user is disabled
																	//						  9 stand for login is right
}
